package com.ncr.travel.appmgr.style.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.ToggleButton;
import com.google.gwt.user.client.ui.Widget;

public class FunctionToggleButton extends Composite {

	private static FunctionToggleButtonUiBinder uiBinder = GWT.create(FunctionToggleButtonUiBinder.class);

	interface FunctionToggleButtonUiBinder extends UiBinder<Widget, FunctionToggleButton> {
	}

	@UiField
	ToggleButton button;

	public FunctionToggleButton() {
		initWidget(uiBinder.createAndBindUi(this));
	}

    /**
     * @return the button
     */
    public ToggleButton getButton() {
        return button;
    }

    /**
     * @param button the button to set
     */
    public void setButton(ToggleButton button) {
        this.button = button;
    }

}
